<template>
    相册页面
</template>

<script setup>
let route = useRoute()
onBeforeRouteUpdate((route) => {
    console.log('路由变化了', route.query.category)
})
onMounted(() => {
    console.log('进来了')
    console.log(route.query.category)
})
</script>
